home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / logolib / map < prev    next >
Text File  |  1995-05-03  |  320b  |  12 lines

  1. to map :map.template [:template.lists] 2
  2. op map1 :template.lists 1
  3. end
  4.  
  5. to map1 :template.lists :template.number
  6. if emptyp first :template.lists [output first :template.lists]
  7. output combine (apply :map.template firsts :template.lists) ~
  8.                (map1 bfs :template.lists :template.number+1)
  9. end
  10.  
  11. bury [map map1]
  12.